<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>

<meta name="generator" content="PHPDoctor 2RC2 (http://phpdoctor.sourceforge.net/)">
<meta name="when" content="Tue, 09 Dec 2008 09:11:43 +0000">

<link rel="stylesheet" type="text/css" href="../stylesheet.css">
<link rel="start" href="../overview-summary.html">

<title>StoreGroup (Moriarty)</title>

</head>
<body id="definition" onload="parent.document.title=document.title;">

<div class="header">
<h1>Moriarty</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../moriarty/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../moriarty/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../moriarty/storegroup.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<div class="qualifiedName">Moriarty.StoreGroup</div>

<h1>Class StoreGroup</h1>

<pre class="tree"><a href="../moriarty/simplegraph.html">SimpleGraph</a><br>  |<br>  +--<a href="../moriarty/networkresource.html">NetworkResource</a><br>       |<br>       +--<strong>StoreGroup</strong><br /></pre>

<hr>

<p class="signature">public  class <strong>StoreGroup</strong><br>extends <a href="../moriarty/networkresource.html">NetworkResource</a>

</p>

<div class="comment" id="overview_description"><p>
Represents a group of stores.
/</p></div>

<hr>

<table id="summary_constr">
<tr><th colspan="2">Constructor Summary</th></tr>
<tr>
<td class="description"><p class="name"><a href="#StoreGroup()">StoreGroup</a>(string uri, <a href="../moriarty/credentials.html">Credentials</a> credentials)</p><p class="description">
Create a new instance of this class</p></td>
</tr>
</table>

<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#add_store_by_uri()">add_store_by_uri</a>(string store_uri)</p><p class="description">
Add a store to this group. </p></td>
</tr>
<tr>
<td class="type"> <a href="../moriarty/storegroupconfig.html">StoreGroupConfig</a></td>
<td class="description"><p class="name"><a href="#get_config()">get_config</a>()</p><p class="description">
Obtain a reference to this store group's configuration</p></td>
</tr>
<tr>
<td class="type"> <a href="../moriarty/contentbox.html">Contentbox</a></td>
<td class="description"><p class="name"><a href="#get_contentbox()">get_contentbox</a>()</p><p class="description">
Obtain a reference to this store group's contentbox</p></td>
</tr>
<tr>
<td class="type"> <a href="../moriarty/sparqlservice.html">SparqlService</a></td>
<td class="description"><p class="name"><a href="#get_sparql_service()">get_sparql_service</a>()</p><p class="description">
Obtain a reference to this store group's sparql service</p></td>
</tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#remove_all_stores()">remove_all_stores</a>()</p><p class="description">
Remove all stores from this group. </p></td>
</tr>
</table>

<table class="inherit">
<tr><th colspan="2">Methods inherited from Moriarty.NetworkResource</th></tr>
<tr><td><a href="../moriarty/networkresource.html#delete_from_network()">delete_from_network</a>, <a href="../moriarty/networkresource.html#get_comment()">get_comment</a>, <a href="../moriarty/networkresource.html#get_from_network()">get_from_network</a>, <a href="../moriarty/networkresource.html#get_label()">get_label</a>, <a href="../moriarty/networkresource.html#put_to_network()">put_to_network</a>, <a href="../moriarty/networkresource.html#set_comment()">set_comment</a>, <a href="../moriarty/networkresource.html#set_label()">set_label</a></td></tr></table>

<table class="inherit">
<tr><th colspan="2">Methods inherited from Moriarty.SimpleGraph</th></tr>
<tr><td><a href="../moriarty/simplegraph.html#add_graph()">add_graph</a>, <a href="../moriarty/simplegraph.html#add_literal_triple()">add_literal_triple</a>, <a href="../moriarty/simplegraph.html#add_rdfxml()">add_rdfxml</a>, <a href="../moriarty/simplegraph.html#add_resource_triple()">add_resource_triple</a>, <a href="../moriarty/simplegraph.html#add_turtle()">add_turtle</a>, <a href="../moriarty/simplegraph.html#from_json()">from_json</a>, <a href="../moriarty/simplegraph.html#from_rdfxml()">from_rdfxml</a>, <a href="../moriarty/simplegraph.html#from_turtle()">from_turtle</a>, <a href="../moriarty/simplegraph.html#get_first_literal()">get_first_literal</a>, <a href="../moriarty/simplegraph.html#get_first_resource()">get_first_resource</a>, <a href="../moriarty/simplegraph.html#get_index()">get_index</a>, <a href="../moriarty/simplegraph.html#get_literal_triple_values()">get_literal_triple_values</a>, <a href="../moriarty/simplegraph.html#get_resource_triple_values()">get_resource_triple_values</a>, <a href="../moriarty/simplegraph.html#get_subject_property_values()">get_subject_property_values</a>, <a href="../moriarty/simplegraph.html#get_triples()">get_triples</a>, <a href="../moriarty/simplegraph.html#has_literal_triple()">has_literal_triple</a>, <a href="../moriarty/simplegraph.html#has_resource_triple()">has_resource_triple</a>, <a href="../moriarty/simplegraph.html#is_empty()">is_empty</a>, <a href="../moriarty/simplegraph.html#remove_all_triples()">remove_all_triples</a>, <a href="../moriarty/simplegraph.html#remove_property_values()">remove_property_values</a>, <a href="../moriarty/simplegraph.html#remove_resource_triple()">remove_resource_triple</a>, <a href="../moriarty/simplegraph.html#remove_triples_about()">remove_triples_about</a>, <a href="../moriarty/simplegraph.html#set_namespace_mapping()">set_namespace_mapping</a>, <a href="../moriarty/simplegraph.html#subject_has_property()">subject_has_property</a>, <a href="../moriarty/simplegraph.html#to_json()">to_json</a>, <a href="../moriarty/simplegraph.html#to_ntriples()">to_ntriples</a>, <a href="../moriarty/simplegraph.html#to_rdfxml()">to_rdfxml</a>, <a href="../moriarty/simplegraph.html#to_turtle()">to_turtle</a></td></tr></table>

<h2 id="detail_constr">Constructor Detail</h2>
<h3 id="StoreGroup()">StoreGroup</h3>
<code class="signature">public <strong>StoreGroup</strong>(string uri, <a href="../moriarty/credentials.html">Credentials</a> credentials)</code>
<div class="details">
<p>
Create a new instance of this class</p><dl>
<dt>Parameters:</dt>
<dd>uri - URI of the store group</dd>
<dd>credentials - the credentials to use for authenticated requests (optional)</dd>
</dl>
</div>

<hr>

<h2 id="detail_method">Method Detail</h2>
<h3 id="add_store_by_uri()">add_store_by_uri</h3>
<code class="signature">public  void <strong>add_store_by_uri</strong>(string store_uri)</code>
<div class="details">
<p>
Add a store to this group. Save the changes by calling put_to_network.</p><dl>
<dt>Parameters:</dt>
<dd>store_uri - the URI of the store to add to this group.</dd>
</dl>
</div>

<hr>

<h3 id="get_config()">get_config</h3>
<code class="signature">public  <a href="../moriarty/storegroupconfig.html">StoreGroupConfig</a> <strong>get_config</strong>()</code>
<div class="details">
<p>
Obtain a reference to this store group's configuration</p><dl>
<dt>See Also:</dt>
<dd><a href="http://n2.talis.com/wiki/Store_Configuration">http://n2.talis.com/wiki/Store_Configuration</a></dd>
</dl>
</div>

<hr>

<h3 id="get_contentbox()">get_contentbox</h3>
<code class="signature">public  <a href="../moriarty/contentbox.html">Contentbox</a> <strong>get_contentbox</strong>()</code>
<div class="details">
<p>
Obtain a reference to this store group's contentbox</p><dl>
<dt>See Also:</dt>
<dd><a href="http://n2.talis.com/wiki/Contentbox">http://n2.talis.com/wiki/Contentbox</a></dd>
</dl>
</div>

<hr>

<h3 id="get_sparql_service()">get_sparql_service</h3>
<code class="signature">public  <a href="../moriarty/sparqlservice.html">SparqlService</a> <strong>get_sparql_service</strong>()</code>
<div class="details">
<p>
Obtain a reference to this store group's sparql service</p><dl>
<dt>See Also:</dt>
<dd><a href="http://n2.talis.com/wiki/Store_Sparql_Service">http://n2.talis.com/wiki/Store_Sparql_Service</a></dd>
</dl>
</div>

<hr>

<h3 id="remove_all_stores()">remove_all_stores</h3>
<code class="signature">public  void <strong>remove_all_stores</strong>()</code>
<div class="details">
<p>
Remove all stores from this group. Save the changes by calling put_to_network.
/</p></div>

<hr>

<div class="header">
<h1>Moriarty</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../moriarty/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../moriarty/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../moriarty/storegroup.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<p id="footer">This document was generated by <a href="http://phpdoctor.sourceforge.net/">PHPDoctor: The PHP Documentation Creator</a></p>

</body>

</html>